You can't access it through a pointer declared as an Order, nor can you pass it to another method expecting an Order as an argument. 您不能通过声明为Order的指针来访问它,您也不能将它传递到另外一个希望以Order作为参数的方法。
A pointer to the named memory is passed as argument to mi_register_callback(). 已命名内存的一个指针作为miregistercallback()的参数传递。
As the name suggests, the_beginthread() function creates a thread that executes the routine, where the pointer to that routine is specified as the first argument. 顾名思义,beginthread()函数可以创建一个执行例程的线程,其中将指向该例程的指针作为第一个参数。
The system detected an invalid pointer address in attempting to use a pointer argument in a call. 系统检测到在一个调用中尝试使用指针参数时的无效指针地址。
If the client wants to handle an event, it has to create an instance of your class with the constructor that has a function pointer as the argument. 如果客户端想处理事件,就必须在构造器中提供一个函数指针作为参数。
So, what we'll do is always pass a pointer to that struct as the first argument. 那么,我们将要做的就是总是在第一个参数传一个指向这类结构的指针。
We now know that this represents a function pointer type that can refer to any method taking a single int argument and returning a string. 我们现在知道了这是一个函数指针类型,它可以引用任何有一个int类型参数并且返回一个string类型的方法。